
$directory = "conaninfo"

function Conan-Install {

    # Check if the directory is exist
    $directoryProperty = (Test-Path -LiteralPath $directory)
    
    if ($directoryProperty -eq $false) 
    {
        New-Item -ItemType d conaninfo
    } 

    conan install . -if conaninfo/
}

Conan-Install